﻿<%@ Page Language="C#" MasterPageFile="~/Master/MasterPage.master"
    AutoEventWireup="true" CodeBehind="GoodsListUpdate.aspx.cs" Inherits="HZ.Supervise.Web.SystemManage.GoodsListUpdate"
    Title="药品库信息" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <div class="search">
        <div class="search_item">
        <table>
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                流水号：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtProcureCatalog" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                通用名：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtProductName" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                商品名：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtGoodsName" runat="server"></asp:TextBox>
                            </td>
                            
                            <td align="right">
                                剂型：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMedicineModel" runat="server"></asp:TextBox>
                            </td>
                             </tr>
                        <tr>
                            
                            <td align="right">
                                规格：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtPack" runat="server" MaxLength="5"></asp:TextBox>
                            </td>
                            <td align="right">
                                转换比：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtFactor" runat="server" MaxLength="5"></asp:TextBox>
                            </td>
                            
                       
                           <%-- <td align="right">
                                投标企业：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCompany_TB" runat="server"></asp:TextBox>
                            </td>--%>
                            <td align="right">
                                生产企业：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtProduceCompany_SC" runat="server"></asp:TextBox>
                            </td>
                             <td align="right" visible="false">
                                质量层次：
                            </td>
                            <td align="left"  visible="false">
                                <asp:TextBox ID="txtQualityLevel" runat="server"></asp:TextBox>
                            </td>
                             </tr>
                        <tr>
                            <td align="right">
                            供应价格：
                            </td>
                            <td align="left">
                            <asp:TextBox ID="txtProcurePrice" runat="server"></asp:TextBox>
                            </td>
                         <%-- <td align="right" visible="false">
                                药品属性：
                            </td>
                            <td align="left" visible="false">
                                <asp:DropDownList ID="ddlHosShuXing" runat="server" Width="110px">
                                    <asp:ListItem Selected="True">全部</asp:ListItem>
                                     <asp:ListItem Value="1">第一批基本药物</asp:ListItem>
                                    <asp:ListItem Value="">基本药物</asp:ListItem>
                                </asp:DropDownList>
                            </td>--%>
                            <td align="right">
                                交易状态：
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlIsUsing" runat="server" Width="110px">
                                    <asp:ListItem Selected="True">全部</asp:ListItem>
                                    <asp:ListItem Value="True">在线</asp:ListItem>
                                    <asp:ListItem Value="false">不在线</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <asp:Literal runat="server" ID="ltlAdvance" Text="&lt;tbody id='advance' style='display:none'&gt;"></asp:Literal>
                    </table>
                </td>
                <td width="100px">
                    <hz:HzButton ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" CssClass="searchbtn" />
                </td>
            </tr>
        </table>
    </div>
    </div>
    
    <asp:GridView ID="gvwProduceCatalog" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无符合条件的数据！"  >
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="流水号">
                <ItemTemplate>
                    <a href='BidproductEdit.aspx?goodsid=<%# Eval("GoodsId") %>'>
                        <asp:Label runat="server" ID="lblGoodsId" Text='<%# Eval("GoodsId") %>' ToolTip="点击查看该药品的操作记录和审核记录"></asp:Label></a>
                </ItemTemplate>
                <ItemStyle Width="60px" />
            </asp:TemplateField>
            <asp:BoundField DataField="GoodsId" HeaderText="流水号" Visible="false" />
            <asp:BoundField DataField="ProductName" HeaderText="通用名" />
            <asp:BoundField DataField="GoodsName" HeaderText="商品名" />
            <asp:BoundField DataField="GoodsName" HeaderText="商品名" NullDisplayText="无" Visible="false" />
            <asp:BoundField DataField="MedicineModelName" HeaderText="剂型" />
            <asp:BoundField DataField="Outlookc" HeaderText="规格" />
            <%--<asp:BoundField DataField="Pack" HeaderText="规格" />--%>
            <asp:BoundField DataField="Factor" HeaderText="转换比" />
            <asp:BoundField DataField="Unit" HeaderText="单位" />
            <asp:BoundField DataField="SortName" HeaderText="药品类别" Visible="false">
                <HeaderStyle Width="60px" />
            </asp:BoundField>
            <asp:BoundField DataField="Material" HeaderText="包装材质" NullDisplayText="无" />
            <asp:BoundField DataField="QualityLevel" HeaderText="质量层次" NullDisplayText="无" />
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
            <asp:BoundField DataField="CompanyName_TB" HeaderText="投标企业" />
            <asp:BoundField DataField="ProcurePrice" HeaderText="供应价格" DataFormatString="{0:F3}">
                <HeaderStyle Width="55px" />
            </asp:BoundField>
            <asp:BoundField DataField="GovPricing" HeaderText="最高零售价" DataFormatString="{0:F3}">
                <HeaderStyle Width="55px" />
            </asp:BoundField>
            <asp:BoundField DataField="SortSource" HeaderText="药品属性" Visible="false" />
           <%-- <asp:TemplateField HeaderText="药品属性" Visible="false" >
                <ItemTemplate> 
                </ItemTemplate>
                <HeaderStyle Width="60px" />
            </asp:TemplateField>--%>
            <asp:BoundField DataField="ProjectName" HeaderText="项目" Visible="false" />
            <%--<asp:TemplateField HeaderText="配送企业">
                <ItemTemplate>
                    <hz:HzLinkButton ID="btnSelect" runat="server" OnClientClick='<%# GetURLScript("ProcureCatalogCompanyPS.aspx?procureCatalogId="+Eval("ProcureCatalogID"))%>'
                        CausesValidation="false" Text='查看'
                        ToolTip="相关配送企业" />
                </ItemTemplate>
                <HeaderStyle Width="65px" />
            </asp:TemplateField>--%>
            <asp:BoundField DataField="TradeState" HeaderText="交易状态" />
            
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listctrl"> 
        <hz:HzButton ID="btnExcel1" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />
    </div>
    <div class="listip">
        <ul>
            <li>说明：<span>平台可采药品列表</span></li>
        </ul>
    </div>
</asp:Content>
